package com.itheima.d09_adapter;

/**
 * 适配器
 */
public class SocketAdapter implements IMianBeiSocket{

    private IChinaSocket socket;

    //接入国内的充电器
    public void setSocket(IChinaSocket socket) {
        this.socket = socket;
    }

    @Override
    public void chongdian() {
        socket.chongdian();
    }
}
